package PruebaMonitor;

public class Thread2 extends Thread {
	public void run() {
		synchronized(Main.o1) {
			while (true) {
			try {
				
					Main.o1.wait();				
					System.out.println("tralala"+this.getPriority());
				}
				
			
			catch(Exception e) {
				System.out.println("kk");
			}
			}
		}		
	}
}
